package net.oschina.allchat.message.processing.json.parsers.convention.xdata;

import java.util.List;

import net.oschina.allchat.message.processing.convention.annotations.Array;
import net.oschina.allchat.message.processing.convention.annotations.TextOnly;

public class XData {
	@TextOnly
	private String title;
	private String type;
	@Array(String.class)
	@TextOnly
	private List<String> instructions;
	private Reported reported;
	@Array(Field.class)
	private List<Field> fields;
	@Array(Item.class)
	private List<Item> items;
	
	public String getTitle() {
		return title;
	}
	
	public void setTitle(String title) {
		this.title = title;
	}
	
	public List<String> getInstructions() {
		return instructions;
	}
	
	public void setInstructions(List<String> instructions) {
		this.instructions = instructions;
	}
	
	public Reported getReported() {
		return reported;
	}
	
	public void setReported(Reported reported) {
		this.reported = reported;
	}
	
	public List<Field> getFields() {
		return fields;
	}
	
	public void setFields(List<Field> fields) {
		this.fields = fields;
	}
	
	public List<Item> getItems() {
		return items;
	}
	
	public void setItems(List<Item> items) {
		this.items = items;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
}
